package org.jeecg.modules.hc.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.List;

/**
 * @Description: 企业信息
 * @Author: jeecg-boot
 * @Date:   2023-07-04
 * @Version: V1.0
 */
@Data
@TableName("hc_company_info")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="hc_company_info对象", description="企业信息")
public class HcCompanyInfo implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private java.lang.String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**删除状态(0未删，1删除)*/
    @ApiModelProperty(value = "删除状态(0未删，1删除)")
    @TableLogic(value = "0",delval = "1")
    private java.lang.Integer delFlag;
	/**站点ID*/
	@Excel(name = "站点ID", width = 15)
    @ApiModelProperty(value = "站点ID")
    private java.lang.String siteId;
    /**站点ID*/
    @Excel(name = "站点名称", width = 15)
    @TableField(exist = false)
    private java.lang.String siteName;
	/**企业名称*/
	@Excel(name = "企业名称", width = 15)
    @ApiModelProperty(value = "企业名称")
    private java.lang.String companyName;
	/**企业地址*/
	@Excel(name = "企业地址", width = 15)
    @ApiModelProperty(value = "企业地址")
    private java.lang.String companyAddress;
	/**企业简称*/
	@Excel(name = "企业简称", width = 15)
    @ApiModelProperty(value = "企业简称")
    private java.lang.String companyShortName;
	/**企业合作价格*/
	@Excel(name = "企业合作价格", width = 15)
    @ApiModelProperty(value = "企业合作价格")
    private java.math.BigDecimal companyPrice;
	/**商户合作价格*/
	@Excel(name = "商户合作价格", width = 15)
    @ApiModelProperty(value = "商户合作价格")
    private java.math.BigDecimal merchantPrice;
	/**开始时间*/
	@Excel(name = "开始时间", width = 20)
    @ApiModelProperty(value = "开始时间")
    private java.lang.String startTime;
	/**结束时间*/
	@Excel(name = "结束时间", width = 20)
    @ApiModelProperty(value = "结束时间")
    private java.lang.String endTime;
	/**取餐时间*/
	@Excel(name = "取餐时间", width = 15)
    @ApiModelProperty(value = "取餐时间")
    private java.lang.String pickupTime;
    /**是否启用个人订单菜品 */
    @Excel(name = "是否启用个人订单菜品(yes,no)", width = 15)
    @ApiModelProperty(value = "是否启用个人订单菜品(yes,no)")
    private java.lang.String isOpenPrivateOrder;

    /**是否启用没人每天限点一次 */
    @Excel(name = "是否启用没人每天限点一次(yes,no)", width = 15)
    @ApiModelProperty(value = "是否启用没人每天限点一次(yes,no)")
    private java.lang.String isLimitOrder;
    /**是否启用白名单 */
    @Excel(name = "是否启用白名单(yes,no)", width = 15)
    @ApiModelProperty(value = "是否启用白名单(yes,no)")
    private java.lang.String isOpenWhitePaper;
    /**白名单 */
    @Excel(name = "白名单", width = 15)
    @ApiModelProperty(value = "白名单")
    private java.lang.String whitePaper;
    /**是否启用黑名单 */
    @Excel(name = "是否启用黑名单(yes,no)", width = 15)
    @ApiModelProperty(value = "是否启用黑名单(yes,no)")
    private java.lang.String isOpenBlackPaper;
    /**黑名单 */
    @Excel(name = "黑名单", width = 15)
    @ApiModelProperty(value = "黑名单")
    private java.lang.String blackPaper;
    /**售后通知电话 */
    @Excel(name = "售后通知电话", width = 15)
    @ApiModelProperty(value = "售后通知电话")
    private java.lang.String noticePhone;
    /**是否启用个人点餐入口 */
    @Excel(name = "是否启用个人点餐入口(yes,no)", width = 15)
    @ApiModelProperty(value = "是否启用个人点餐入口(yes,no)")
    private java.lang.String isOpenPrivateOrderInlet;


    /**是否启用个人订单菜品 */
    @Excel(name = "是否启用", width = 15)
    @ApiModelProperty(value = "是否启用")
    private java.lang.String state;

    /**售后赔偿标准 */
    @Excel(name = "售后赔偿标准", width = 15)
    @ApiModelProperty(value = "售后赔偿标准")
    private java.lang.String salesCompensationStandards;

    @ApiModelProperty(value = "企业部门信息")
    @TableField(exist = false)
    private List<HcCompanyDepartment> companyDepartments;
    @ApiModelProperty(value = "企业取餐地址信息")
    @TableField(exist = false)
    private List<HcCompanyPickupAddress> companyPickupAddresses;
    @ApiModelProperty(value = "企业banner")
    @TableField(exist = false)
    private List<HcCompanyBanner> companyBanners;

    /**是否启用个人点餐入口 */
    @Excel(name = "是否必填手机号(yes,no)", width = 15)
    @ApiModelProperty(value = "是否必填手机号(yes,no)")
    private java.lang.String isSetPhone;

}
